package com.xiangshizhineng.tianzhangzhi.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiangshizhineng.tianzhangzhi.app.model.entity.File;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.List;
import java.util.concurrent.Future;

public interface FileService extends IService<File> {

    /**
     * 开启多线程异步操作
     * @param multipartFile
     * @return
     */
    Future<List<String>> upload(MultipartFile[] multipartFile);
}
